package com.codemart.lanze.core.freemarker;

import java.util.List;

import org.springframework.stereotype.Repository;

import freemarker.template.TemplateMethodModel;
import freemarker.template.TemplateModelException;

/**
 * 下一篇文章标题
 *
 * @author lanze
 *
 */
@SuppressWarnings({ "rawtypes", "deprecation" })
@Repository
public class MethodNextContentTitle implements TemplateMethodModel {

	@Override
	public Object exec(List arguments) throws TemplateModelException {
		String contentId = (String) arguments.get(0);
		return contentId;
	}

}
